//
//  UnionListViewController.h
//  PlayBall
//
//  Created by yanfa on 16/4/20.
//
//

#import "JddBaseViewController.h"
#import "GetUnionList.h"
#import "MyGetDateView.h"
#import "GetJiaoYITotal.h"
#import "PCLocationView.h"
#import "GetJiaoYiDetail.h"
#import "SBJson.h"
#import "UnionListTableViewCell.h"
#import "DetailTableViewCell.h"
#import "TotalTableViewCell.h"

@interface UnionListViewController : JddBaseViewController<UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate,GetUnionListDelegate,GetJiaoYITotalDelegate,GetJiaoYiDetailDelegate,UIActionSheetDelegate>{
    NSMutableArray* dataUnions;
    MyGetDateView* getDateView;
    PCLocationView* getLotView;
    NSString* selectLotId;
    NSString* currSearchDate;
    NSString* startDateStr;
}

SHARED_VIEW_CONTROLLER_DECLARE(UnionListViewController);
@property (weak, nonatomic) IBOutlet UILabel *label_no_data_tips;

@property (weak, nonatomic) IBOutlet UITextField *tf_username;
@property (weak, nonatomic) IBOutlet UIButton *btn_start_date;
@property (weak, nonatomic) IBOutlet UIButton *btn_end_date;
@property (weak, nonatomic) IBOutlet UILabel *labe_end_des;
@property (weak, nonatomic) IBOutlet UISegmentedControl *segTab;
@property (weak, nonatomic) IBOutlet UITableView *table_list;
@property (weak, nonatomic) IBOutlet UIButton *btn_lot_name;
@property (weak, nonatomic) IBOutlet UILabel *label_lot;
@property (weak, nonatomic) IBOutlet UIView *view_myunions;
@property (weak, nonatomic) IBOutlet UIView *view_total;
@property (weak, nonatomic) IBOutlet UIView *view_detail;
- (IBAction)btnLotClick:(id)sender;

- (IBAction)tabSegSelectChanged:(id)sender;

- (IBAction)btnStratDateClick:(id)sender;
- (IBAction)btnEndDateClick:(id)sender;
- (IBAction)btnSearchClick:(id)sender;
@end
